package com.example.java_gobang.model;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Data
@Component
public class CaptchaProperties {
    private Integer width = 100;
    private Integer height = 40;
    @Autowired
    private Session session;
    @Data
    @Component
    public static class Session {
        private String key = "CAPTCHA_SESSION_KEY";
        private String date = "KAPTCHA_SESSION_DATE";
    }

}
